package com.wuchao.springs.iocpromax;

import com.wuchao.entity.Entry;

/**
 * @Author wuchao66
 * @Date 2023/10/14 15:02
 * @PackageName:com.wuchao.springs.iocpromax
 * @ClassName: Boy
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public class Boy {//p入参--报错

    public Entry getEntry() {
        return entry;
    }

    public void setEntry(Entry entry) {
        this.entry = entry;
    }

    private Entry entry;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    private String name;
    private int age;

    public void show(){
        System.out.println(name+age+entry.getTitle());
    }
}
